package com.itheima.service;

import com.itheima.pojo.Member;

/**
 * @version V1.0
 * @author: yongjichu
 * @date: 2020/2/6 16:33
 * @description:
 */
public interface MemberService {
    /**
     * 根据电话号码查询是否是我们的用户
     * @param telephone
     * @return
     */
    Member findByTelephone(String telephone);

    /**
     * 根据手机号注册用户
     * @param member
     * @return
     */
    Member add(Member member);
}
